using System;
using System.Collections.Generic;
using System.Text;

namespace Sedna.Utility.Command
{
    /// <summary>
    /// Exposes methods used to run utility commands
    /// </summary>
    public interface ICommand
    {
        /// <summary>
        /// Command's description.
        /// </summary>
        string Description
        {
            get;
        }

        /// <summary>
        /// Command's name.
        /// </summary>
        string Name
        { 
            get;
        }

        /// <summary>
        /// Runs a particular command.
        /// </summary>
        /// <returns></returns>
        CommandResult Run(string[] parameters);

    }
}
